(function() {

	GameButton = function(rpc) {
		this.rpc = rpc;
		this.is_background = false;
	};
	
	GameButton.prototype = {
		start : function(is_background) {
			$("#game_button").bind("click", this.click.bind(this));
			
		},
		stop : function() {
			$("#game_button").unbind("click", this.click.bind(this));
		},
		show : function() {
			$('#screen_game_slider').show();
		},
		hide : function() {
			$('#screen_game_slider').hide();
		},
		click : function(event) {
			this.rpc.sent_button_event();
		}
	};
})();